﻿using Microsoft.EntityFrameworkCore;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DAL
{
    public class HotelDbContext : DbContext
    {
        public HotelDbContext(DbContextOptions options) : base(options)
        {
        }
        public DbSet<Fanghao> Arrangs { get; set; }
        public DbSet<HouseType> houseTypes { get; set; }
        public DbSet<HouseNum> HouseNums { get; set; }
        public DbSet<Login> Logins { get; set; }
    }
}
